<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.2.0/flexslider-min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css">
<div class="flexslider left">
<ul class="slides">
<li>
<img src="https://source.unsplash.com/BaCmEa2hy8g/1600x900">
<div class="meta">
<h1>Lorem ipsum dolor sit amet, consectetur.</h1>
<h2>Lorem ipsum dolor sit.</h2>
<div class="category">
<p>$286600</p>
<span>Category</span>
</div>
</div>
</li>
<li>
<img src="https://source.unsplash.com/RmZIUIF2S2Q/1600x900">
<div class="meta">
<h1>Lorem ipsum dolor sit amet, consectetur.</h1>
<h2>Lorem ipsum dolor sit.</h2>
<div class="category">
<p>$415000</p>
<span>Category</span>
</div>
</div>
</li>
<li>
<img src="https://source.unsplash.com/cFplR9ZGnAk/1600x900">
<div class="meta">
<h1>Lorem ipsum dolor sit amet, consectetur.</h1>
<h2>Lorem ipsum dolor sit.</h2>
<div class="category">
<p>$415000</p>
<span>Category</span>
</div>
</div>
</li>
<li>
<img src="https://source.unsplash.com/Ui8KQ0ahXBM/1600x900">
<div class="meta">
<h1>Lorem ipsum dolor sit amet, consectetur.</h1>
<h2>Lorem ipsum dolor sit.</h2>
<div class="category">
<p>$415000</p>
<span>Category</span>
</div>
</div>
</li>
</ul>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.2.0/jquery.flexslider-min.js"></script>
<script>
$('.flexslider').flexslider({
animation: "slide",
controlNav: false
});
</script>
body {
background: #eee;
}
.flexslider {
width: 790px;
margin: 0 auto;
box-shadow: none;
}
.flexslider li {
position: relative;
}
.flexslider li .meta {
position: absolute;
bottom: 20px;
left: 20px;
color: white;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
font-family: 'Roboto', sans-serif;
}
.flexslider li h1 {
background: rgba(51, 51, 51, 0.5);
padding: 12px 18px 12px;
margin-bottom: 0;
font-size: 1.8em;
font-weight: 300;
}
.flexslider li h2 {
background: rgba(51, 51, 51, 0.5);
padding: 13px 18px 11px;
font-size: 1.1em;
margin-bottom: 0;
font-weight: 300;
}
.flexslider li .category {
display: flex;
flex-direction: row;
}
.flexslider li .category p {
background: #e43837;
margin-right: 7px;
font-size: 1.1em;
padding: 12px 18px 10px;
font-weight: 300;
}
.flexslider li .category span {
background: #e43837;
margin-top: 17px;
padding: 8px 12px 0;
font-size: 0.9em;
font-weight: 300;
height: 26px;
}
.flexslider li h1,
.flexslider li h2,
.flexslider li .category p,
.flexslider li .category span {
-webkit-animation-duration: .6s;
animation-duration: .6s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-name: fadeOutLeft;
animation-name: fadeOutLeft;
}
.flexslider li.flex-active-slide .meta h1,
.flexslider li.flex-active-slide .meta h2,
.flexslider li.flex-active-slide .meta .category p,
.flexslider li.flex-active-slide .meta .category span {
-webkit-animation-delay: .4s;
animation-delay: .4s;
-webkit-animation-duration: .6s;
animation-duration: .6s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-name: fadeInLeft;
animation-name: fadeInLeft;
}
.flexslider li.flex-active-slide .meta h2 {
-webkit-animation-delay: .5s;
animation-delay: .5s;
}
.flexslider li.flex-active-slide .meta .category p {
-webkit-animation-delay: .6s;
animation-delay: .6s;
}
.flexslider li.flex-active-slide .meta .category span {
-webkit-animation-delay: .8s;
animation-delay: .8s;
}
.flex-direction-nav {
position: absolute;
top: 0;
left: 30px;
}
.flex-direction-nav a {
text-decoration: none;
display: block;
width: 30px;
height: 30px;
background-color: #333;
margin: -20px 0 0;
position: absolute;
top: 50px;
z-index: 10;
overflow: hidden;
opacity: .5;
cursor: pointer;
color: #fff;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
transition: all .3s ease;
}
.flex-direction-nav .flex-prev {
text-align: left;
left: -10px;
}
.flex-direction-nav .flex-next {
text-align: right;
left: 30px;
}
.flexslider:hover .flex-prev {
left: -10px;
}
.flexslider:hover .flex-next {
left: 30px;
}
.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
opacity: 1;
}
.flex-direction-nav a:before {
font-family: FontAwesome;
content: '\f104';
font-size: 25px;
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 0;
padding: 2px;
font-size: 19px;
line-height: 27px;
}
.flex-direction-nav a.flex-next:before {
content: '\f105';
}
@-webkit-keyframes fadeInLeft {
0% {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
100% {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInLeft {
0% {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
100% {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@-webkit-keyframes fadeOutLeft {
0% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
@keyframes fadeOutLeft {
0% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}